package xyz.pro5books.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import xyz.pro5books.mapper.TestMapper;
import xyz.pro5books.pojo.TestTable;

import java.util.List;

@Component
public class TestServiceImpl implements TestService{
    @Autowired
    private TestMapper testMapper;

    @Override
    public List<TestTable> getTest() {
        return testMapper.selectList(null);
    }
}
